xen/arm64: Implement lookup_processor_type as a dummy function
authorJulien Grall <julien.grall@linaro.org>
Wed, 5 Mar 2014 04:46:24 +0000 (12:46 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 14 Mar 2014 14:56:23 +0000 (14:56 +0000)
ARM64 implementation doesn't yet have specific code per processor.
This function will be used in a later patch.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Reviewed-by: Tim Deegan <tim@xen.org>
Acked-by: Ian campbell <ian.campbell@citrix.com>
xen/arch/arm/arm64/head.S

index 6f80db2ef58da74ce8774d36d4fbc2bea0efce15..d151724a8fd07e2b2aa8e892c53dff1bb2d04898 100644 (file)
@@ -546,6 +546,13 @@ putn:   ret
 
 #endif /* EARLY_PRINTK */
 
+/* This provides a C-API version of __lookup_processor_type
+ * TODO: For now, the implementation return NULL every time
+ */
+GLOBAL(lookup_processor_type)
+        mov  x0, #0
+        ret
+
 /*
  * Local variables:
  * mode: ASM